package com.ht.sps.bui.model;

import java.util.List;

/**
 * Created by bcw on 14-2-24.
 */
public class GridPageData<E> {
    private List<E> rows;
    private int results;
    private boolean hasError;
    private String error;

    public List<E> getRows() {
        return rows;
    }

    public void setRows(List<E> rows) {
        this.rows = rows;
    }

    public int getResults() {
        return results;
    }

    public void setResults(int results) {
        this.results = results;
    }

    public boolean isHasError() {
        return hasError;
    }

    public void setHasError(boolean hasError) {
        this.hasError = hasError;
    }

    public String getError() {
        return error;
    }

    public void setError(String error) {
        this.error = error;
    }
}
